//
// Created by MikeChen on 2025/4/3.
//


#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main() {
    //输入小写字母转大写
    /*char c;
    printf("请输入小写字母：");
    scanf("%c", &c);
    //'a' - 'A'=32
    if (c >= 'a' && c <= 'z') {
        printf("%c\n", c - ('a' - 'A'));
    }else{
        printf("输入有误");
    }*/

    //输入八进制，输出十进制和十六进制
    /*int val;
    printf("请输入一个八进制数：");
    scanf("%o",&val);
    printf("十进制：%d\n",val);
    printf("十六进制：%x\n",val);//只显示ddd
    printf("十六进制：%#x\n",val);//会显示0xddd*/

    //
    /*int a =0, b =0, c = 0;
    ++a||b++&&c++;
    printf("a=%d,b=%d,c=%d\n",a,b,c);//a=1,b=0,c=0*/

    //
    /*int x = 3, y=4,z=6;
    printf("%d",!(x+y)+z-1&&y+z/2);//1*/

    //三个数输出最大值
    int a, b, c;
    scanf("%d %d %d", &a, &b, &c);
    printf("%d %d %d 中最大的数是:%d",
           a, b, c, a > b ? a > c ? a : c : b > c ? b : c);
    system("read -rsp $'Press enter to continue...\\n'");
    return EXIT_SUCCESS;
}